package com.hgw.Demo02CommandPattern.ExamplesUndoOperation;

/**
 * Data time:2021/12/16 20:16
 * StudentID:2019112118
 * Author:hgw
 * Description: 抽象命令类
 */
public abstract class AbstractCommand {
    public abstract int execute(int value);     // 声明命令执行方法 execute()
    public abstract int undo();                 // 声明撤销方法 undo()
}
